<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">
  <cpn v-bind:cinfo="info"></cpn>
<!-- <cpn v-bind:c-info="info"></cpn> --》cInfo-->
</div>
<template id="cpn">
  <div>
    <h3>{{cinfo}}</h3>
  </div>
</template>
<script src="../js/vue.js"></script>
<script>
  const cpn = {
    template: '#cpn',
    props: {
      cinfo: {
        type: Object
      }
    }
  }
  const vm = new Vue({
    el: '#app',
    data: {
      info: {
        name: 'dys',
        age: 20,
        height: 1.80
      }
    },
    components: {
      cpn
    }

  })
</script>

</body>
</html>